package com.alks.yn_zs.data.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author MS
 * @since 2024/11/12下午3:44
 */
@Data
@Api(value = "看板-入库明细/库存明细")
public class MtlInDto {

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "品牌")
    private String custom;

    @ApiModelProperty(value = "材料")
    private String mtlName;

    @ApiModelProperty(value = "单位")
    private String mtlUnit;

    @ApiModelProperty(value = "入库数量")
    private BigDecimal acceptQty;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "入库日期")
    private LocalDateTime recDate;

    @ApiModelProperty(value = "库存数量")
    private BigDecimal stkQty;

    @ApiModelProperty(value = "欠数")
    private BigDecimal shortQty;

}
